<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:f="http://java.sun.com/jsf/core"      
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:ui="http://java.sun.com/jsf/facelets">
      

<ui:composition template="/Template.xhtml">
<ui:define name="page">
	<h:panelGroup rendered="#{!CompteLogin.connecte}">
		<center>
			<font color="#EE0000"><b><i><h:outputText value="Vous devez être identifié pour acceder à cette page." /></i></b></font><br/><br/>
			<h:form>
				<h:commandLink value="Créer un compte" action="CompteNouveau" /><br/>
			</h:form>
			<h:form>
				<h:inputHidden id="page" value="#{compteLogin.page}" /><br/>
				<table border="0" cellpadding="0" cellspacing="0" width="350">
					<tr height="30">
						<td align="left" colspan="3"></td>
					</tr>
					<tr>
						<td align="right"><h:outputText value="Pseudo" /></td>
						<td width="15"></td>
						<td><h:inputText value="#{compteLogin.pseudo}" required="true" id="login" /></td>
					</tr>
					<tr height="7"><td align="right" colspan="3"></td></tr>
					<tr>
						<td align="right"><h:outputText value="Mot de passe" /></td>
						<td width="15"></td>
						<td><h:inputSecret value="#{compteLogin.mdp}" required="true" id="password"/></td>
					</tr>
					<tr height="7"><td align="right" colspan="3"></td></tr>
					<tr>
						<td align="right" colspan="3"><h:commandLink value="S'identifier" action="#{compteLogin.login}" /></td>
					</tr>
				</table>
			</h:form>
			<h:form>
				<br/>
				<h:commandLink value="mot de passe oublié ?" action="ComptePerdu" />
			</h:form>
		</center>
	</h:panelGroup>
</ui:define>
</ui:composition>
</html>
